package com.rpcdemo.client.impl;

import com.rpcdemo.client.CnBlogClient;
import org.springframework.stereotype.Component;

/**
 * create by yongli on 2021-12-26 07:54
 * 调用失败就会使用这个
 */
@Component
public class CnBlogClientFallback implements CnBlogClient {
    @Override
    public String queryProductByIds(String index) {
        return "网络请求报错";
    }
}
